import Layout from '@/views/layout'
import cultivate from './cultivate'
import garbageDisposal from './garbageDisposal'
// import wormKing from './wormKing'
const routerMap =
  {
    path: '/worm',
    redirect: '/worm/cultivate',
    name: '黑水虻',
    component: Layout,
    meta: { active: false, isFold: true, permission: true, superAdmin: false },
    children: [
      cultivate,
      garbageDisposal,
      // wormKing,
      {
        path: 'humiture',
        name: '温湿度',
        component: () => import('@/views/worm/src/humiture'),
        // component: () => import('../views/404Page/404Page'),
        meta: { active: false }
      },
      {
        path: 'humitureUpload',
        name: '温湿度记录表上传',
        component: () => import('@/views/worm/src/humitureUpload'),
        meta: { active: false }
      }
    ]
  }
export default routerMap
